package models

import (
	"time"
)

type Resource struct {
	Id               string          `orm:"pk"`
	RowId            string          `orm:"column(row_id)"`
	ProjectVersionId *ProjectVersion `orm:"column(project_version_id);rel(fk)"`
	Deleted          int32           `orm:"column(deleted)"`
	Name             string
	Type             string
	FolderId         *Folder `orm:"column(folder_id);rel(fk)"`

	CreateTime     time.Time `orm:"column(create_time);type(datetime)"`
	CreateBy       string    `orm:"column(create_by)"`
	LastUpdateBy   string    `orm:"column(last_update_by)"`
	LastUpdateTime time.Time `orm:"column(last_update_time);type(datetime)"`
}
